# def add(num1, num2):
#     """
#     求和
#     :param num1:
#     :param num2:
#     :return: 元组
#     """
#     return num1 + num2
#
#
# # 调用函数
# add(2, 3)
# re = add(2, 3)
# a, b = add(2, 3)

def fun01(a, b, c):
    print(a)
    print(b)
    print(c)
    pass


list1 = "abc"
# fun01(*list1)

message = " a b  c   校训     "
# print(message.count(" "))     # 计算字符出现次数
# print(message.strip())        # 去除前后空格
# print(message.replace(" ", ""))       # 替换
print(message.index("校"))       # 获取指定字符的下标
print(message.find("校"))        # 获取指定字符的下标
